package com.fyy.im.message;

import lombok.Data;
import lombok.ToString;

/**
 * @Author fyy
 * @Description
 * @Date 2021/5/11 10:39
 */
@Data
@ToString(callSuper = true)
public class GChatResponseMessage extends AbstractResponseMessage {
    private String from;
    private String content;

    public GChatResponseMessage(boolean success, String reason) {
        super(success, reason);
    }

    public GChatResponseMessage(String from, String content) {
        this.from = from;
        this.content = content;
    }

    @Override
    public int getMessageType() {
        return GChatResponseMessage;
    }
}
